package 原型模式.复制简历;

/**
 * 为同一所学校的学生创建不同的简历
 */
public class Business {

    public static void main(String[] args) throws CloneNotSupportedException {

        Resume stuResume = new StuResume("fxd", "湖南城市");
        stuResume.show();
        System.out.println(stuResume);
        StuResume clone = (StuResume) stuResume.clone();
        clone.setName("tt");
        clone.show();
        System.out.println(clone);

        Resume clone1 = clone.clone();
        System.out.println(clone1);

    }


}
